using System;
using System.Collections.Generic;
using System.Text;
using MediaPortal.GUI.Library;

namespace MyEmulators2
{
    public class ExtendedGUIListItem: GUIListItem 
    {
        public ExtendedGUIListItem(String strLabel) : base(strLabel)
        {
            PrevSelected = null;
            IsBackDots = false;
            AssociatedEmulator = null;
            AssociatedGame = null;
            AssociatedDirectory = null;
            Label = strLabel;
        }

        private String prevSelected;
        public String PrevSelected
        {
            get { return prevSelected; }
            set { prevSelected = value; }
        }

        private bool isBackDots;
        public bool IsBackDots
        {
            get { return isBackDots; }
            set { isBackDots = value; }
        }

        private Emulator associatedEmulator = null;
        public Emulator AssociatedEmulator
        {
            get { return associatedEmulator; }
            set { associatedEmulator = value; }
        }

        private Game associatedGame = null;
        public Game AssociatedGame
        {
            get { return associatedGame; }
            set { associatedGame = value; }
        }

        private String associatedDirectory;
        public String AssociatedDirectory
        {
            get { return associatedDirectory; }
            set { associatedDirectory = value; }
        }

        ViewState viewState = ViewState.Emulators;
        public ViewState ViewState
        {
            get { return viewState; }
            set { viewState = value; }
        }

        ExtendedGUIListItem parent = null;
        public ExtendedGUIListItem Parent
        {
            get { return parent; }
            set { parent = value; }
        }

        int parentIndex = 0;
        public int ParentIndex
        {
            get { return parentIndex; }
            set { parentIndex = value; }
        }
    }

    
}
